package com.easylinkin.sm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.sm.entity.Log;

import java.util.List;
import java.util.Map;
import site.morn.boot.data.CrudService;
import site.morn.boot.data.DisplayableService;
import site.morn.boot.rest.RestPage;

/**
 * 日志服务
 *
 * @author yezhihao
 * @since develop,2019/8/19
 */
public interface LogService extends CrudService<Log, Long> , DisplayableService<Log, Long> {

  List<Map<String,Object>> getLogModules();

  Page<Log> getAllLog(RestPage<Log> restPage);

  Map<String,String> getDetails(Long id);

}
